package com.tencent.qf.user.dal;

import lombok.Data;

import java.io.Serializable;
import java.util.*;

/**
*
*  @author author
*/
@Data
public class UserRelationRecord implements Serializable {

    private static final long serialVersionUID = 1677725493097L;


    /**
    * 主键
    * 主键
    * isNullAble:0
    */
    private Long id;

    /**
    * 粉丝账号id
    * isNullAble:0
    */
    private String uid;

    /**
    * 导购账号id
    * isNullAble:0
    */
    private String parentUid;

    /**
    * 关系类型，0：导购，1：导师
    * isNullAble:0,defaultVal:0
    */
    private Integer relationType;

    /**
    * 状态，0：已失效，1：生效中
    * isNullAble:0,defaultVal:1
    */
    private Integer relationStatus;

    /**
    * 关联起始时间
    * isNullAble:0,defaultVal:CURRENT_TIMESTAMP
    */
    private Date validTime;

    /**
    * 关联失效时间
    * isNullAble:0,defaultVal:9999-12-31 23:59:59
    */
    private Date invalidTime;

    /**
    * 实际失效时间
    * isNullAble:0,defaultVal:9999-12-31 23:59:59
    */
    private Date actualityInvalidTime;

    /**
    * 租户id
    * isNullAble:0
    */
    private String saasId;

    /**
    * 来源
    * isNullAble:1,defaultVal:
    */
    private String sourceDetail;

    /**
    * 主键
    * 分库分表键
    * isNullAble:0,defaultVal:0
    */
    private Integer shardingId;

    /**
    * 创建时间
    * isNullAble:0,defaultVal:CURRENT_TIMESTAMP
    */
    private Date createTime;

    /**
    * 修改时间
    * isNullAble:0,defaultVal:CURRENT_TIMESTAMP
    */
    private Date updateTime;
}
